use proc_macro::TokenStream;

const NAMESPACE: &str = "API_TEST";

#[proc_macro_attribute]
pub fn api_trait(_attr: TokenStream, item: TokenStream) -> TokenStream {
    abi_singleton::api_trait(item, NAMESPACE)
}

#[proc_macro_attribute]
pub fn api_impl(_attr: TokenStream, item: TokenStream) -> TokenStream {
    abi_singleton::api_impl( item, NAMESPACE)
}
